package com.wzl.thread;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 线程集合工程启动类
 *
 * @author weizhongli
 * @since 2022-09-01 20:37
 */
@Slf4j
@SpringBootApplication
@MapperScan({
        "com.wzl.thread.mapper"
})
public class ThreadCollectionApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(ThreadCollectionApplication.class, args);
            log.info("************线程集合工程Thread-Collection启动成功************");
        }catch (Exception e){
            log.error("", e);
            log.error("************线程集合工程Thread-Collection启动失败************");
        }
    }

}